package cn.stylefeng.guns.modular.hx.order.mapper;

import cn.stylefeng.guns.modular.hx.order.entity.HxOrderPutDetailed;
import cn.stylefeng.guns.modular.hx.order.model.params.HxOrderPutDetailedParam;
import cn.stylefeng.guns.modular.hx.order.model.result.HxOrderPutDetailedResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 入库订单明细表 Mapper 接口
 * </p>
 *
 * @author zhucx
 * @since 2023-08-05
 */
public interface HxOrderPutDetailedMapper extends BaseMapper<HxOrderPutDetailed> {

    /**
     * 获取列表
     *
     * @author zhucx
     * @Date 2023-08-05
     */
    List<HxOrderPutDetailedResult> customList(@Param("paramCondition") HxOrderPutDetailedParam paramCondition);

    /**
     * 获取map列表
     *
     * @author zhucx
     * @Date 2023-08-05
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") HxOrderPutDetailedParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author zhucx
     * @Date 2023-08-05
     */
    Page<HxOrderPutDetailedResult> customPageList(@Param("page") Page page, @Param("paramCondition") HxOrderPutDetailedParam paramCondition, @Param("condition") String condition);

    /**
     * 获取分页map列表
     *
     * @author zhucx
     * @Date 2023-08-05
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") HxOrderPutDetailedParam paramCondition);

	List<HxOrderPutDetailedResult> findListBySpec2(@Param("paramCondition")HxOrderPutDetailedParam param);

	boolean saveBatchList(@Param("list")List<HxOrderPutDetailedParam> detailedList);

	List<HxOrderPutDetailedResult> totalListByGandPSpec(@Param("paramCondition")HxOrderPutDetailedParam hxOrderPutDetailedParam);

	List<HxOrderPutDetailedResult> findListBySpec(@Param("paramCondition")HxOrderPutDetailedParam param);

	void deleteBySpec(@Param("paramCondition")HxOrderPutDetailedParam detailedParam);

	HxOrderPutDetailedResult findBySpec(@Param("paramCondition")HxOrderPutDetailedParam param);

}
